package org.mall.modules.pojo.shop;

import lombok.Data;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

@Data
public class ShopDetailForAppVO {
    private String id;
    private String shopName;
    private String shopPhoto;
    private Integer shopType;
    private String shopStatus;
    private String companyName;
    private String logoPic;
    private String brief;
    private String mobile;
    private String linkmanMobile;
    private String shopAddress;
    private String addressDetail;

    public List<String> getShopPhoto() {
        if (shopPhoto!=null){
            return Arrays.asList(shopPhoto.split(","));

        }
        return Collections.emptyList();
    }

}
